package config

type ServerConfig struct {
	ServerName   string
	IP           string
	Port         int
	LogConfig    LogConfig
	JwtConfig    JwtConfig
	Nacos        Nacos
	ConsulConfig ConsulConfig
}

type LogConfig struct {
	Path string
}

type JwtConfig struct {
	Key                    string
	AccessTokenExpireTime  int
	RefreshTokenExpireTime int
}
type Nacos struct {
	ServerAddr      string
	ServerPort      int
	ServerGroupPort int
	Namespce        string
	DataId          string
	Group           string
	LogDir          string
	CacheDir        string
	LogLevel        string
}
type ConsulConfig struct {
	ConsulHost string
	ConsulPort int
	Tags       []string
}
